package com.pan.dao.goods;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface GoodsDeleteDao{
    Integer deleteById(Long id);
    Integer deleteByCategoryId(Long categoryId);
    Integer deleteByName(String name);
    Integer deleteByUnit(String unit);
    Integer deleteByTitle(String title);
    Integer deleteByImg(String img);
    Integer deleteByPrice(Double price);
    Integer deleteByDetail(String detail);
    Integer deleteByCreateDate(Timestamp createDate);
    Integer deleteByUpdateDate(Timestamp updateDate);
    Integer deleteByGoodsStatus(Integer goodsStatus);
    Integer deleteBySaleCount(Long saleCount);
}